export default [
  {
    path: '/agent',
    name: "Agent",
    component: () => import('@views/main'),
    meta: { auth: true },
    children: [
      {
        path: '/',
        redirect: 'report'
      },
      {
        path:'report',
        name: 'AgentReport',
        component: () => import('@views/agent/report'),
      },
      {
        path: 'add',
        name: 'AgentAdd',
        component: () => import('@views/agent/layout'),
      },
      {
        path: 'edit',
        name: 'AgentEdit',
        component: () => import('@views/agent/layout'),
      }
    ]
  }
]